package top.infopub.model.bpa;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class BudgetBatchInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BudgetBatchInfoExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.isEmpty()) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        return new Criteria();
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return !criteria.isEmpty();
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value) {
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2) {
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSguidIsNull() {
            addCriterion("SGUID is null");
            return (Criteria) this;
        }

        public Criteria andSguidIsNotNull() {
            addCriterion("SGUID is not null");
            return (Criteria) this;
        }

        public Criteria andSguidEqualTo(String value) {
            addCriterion("SGUID =", value);
            return (Criteria) this;
        }

        public Criteria andSguidNotEqualTo(String value) {
            addCriterion("SGUID <>", value);
            return (Criteria) this;
        }

        public Criteria andSguidGreaterThan(String value) {
            addCriterion("SGUID >", value);
            return (Criteria) this;
        }

        public Criteria andSguidGreaterThanOrEqualTo(String value) {
            addCriterion("SGUID >=", value);
            return (Criteria) this;
        }

        public Criteria andSguidLessThan(String value) {
            addCriterion("SGUID <", value);
            return (Criteria) this;
        }

        public Criteria andSguidLessThanOrEqualTo(String value) {
            addCriterion("SGUID <=", value);
            return (Criteria) this;
        }

        public Criteria andSguidLike(String value) {
            addCriterion("SGUID like", value);
            return (Criteria) this;
        }

        public Criteria andSguidNotLike(String value) {
            addCriterion("SGUID not like", value);
            return (Criteria) this;
        }

        public Criteria andSguidIn(List<String> values) {
            addCriterion("SGUID in", values);
            return (Criteria) this;
        }

        public Criteria andSguidNotIn(List<String> values) {
            addCriterion("SGUID not in", values);
            return (Criteria) this;
        }

        public Criteria andSguidBetween(String value1, String value2) {
            addCriterion("SGUID between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSguidNotBetween(String value1, String value2) {
            addCriterion("SGUID not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andItemNameIsNull() {
            addCriterion("ITEM_NAME is null");
            return (Criteria) this;
        }

        public Criteria andItemNameIsNotNull() {
            addCriterion("ITEM_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andItemNameEqualTo(String value) {
            addCriterion("ITEM_NAME =", value);
            return (Criteria) this;
        }

        public Criteria andItemNameNotEqualTo(String value) {
            addCriterion("ITEM_NAME <>", value);
            return (Criteria) this;
        }

        public Criteria andItemNameGreaterThan(String value) {
            addCriterion("ITEM_NAME >", value);
            return (Criteria) this;
        }

        public Criteria andItemNameGreaterThanOrEqualTo(String value) {
            addCriterion("ITEM_NAME >=", value);
            return (Criteria) this;
        }

        public Criteria andItemNameLessThan(String value) {
            addCriterion("ITEM_NAME <", value);
            return (Criteria) this;
        }

        public Criteria andItemNameLessThanOrEqualTo(String value) {
            addCriterion("ITEM_NAME <=", value);
            return (Criteria) this;
        }

        public Criteria andItemNameLike(String value) {
            addCriterion("ITEM_NAME like", value);
            return (Criteria) this;
        }

        public Criteria andItemNameNotLike(String value) {
            addCriterion("ITEM_NAME not like", value);
            return (Criteria) this;
        }

        public Criteria andItemNameIn(List<String> values) {
            addCriterion("ITEM_NAME in", values);
            return (Criteria) this;
        }

        public Criteria andItemNameNotIn(List<String> values) {
            addCriterion("ITEM_NAME not in", values);
            return (Criteria) this;
        }

        public Criteria andItemNameBetween(String value1, String value2) {
            addCriterion("ITEM_NAME between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andItemNameNotBetween(String value1, String value2) {
            addCriterion("ITEM_NAME not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andContractAmountIsNull() {
            addCriterion("CONTRACT_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andContractAmountIsNotNull() {
            addCriterion("CONTRACT_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andContractAmountEqualTo(BigDecimal value) {
            addCriterion("CONTRACT_AMOUNT =", value);
            return (Criteria) this;
        }

        public Criteria andContractAmountNotEqualTo(BigDecimal value) {
            addCriterion("CONTRACT_AMOUNT <>", value);
            return (Criteria) this;
        }

        public Criteria andContractAmountGreaterThan(BigDecimal value) {
            addCriterion("CONTRACT_AMOUNT >", value);
            return (Criteria) this;
        }

        public Criteria andContractAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("CONTRACT_AMOUNT >=", value);
            return (Criteria) this;
        }

        public Criteria andContractAmountLessThan(BigDecimal value) {
            addCriterion("CONTRACT_AMOUNT <", value);
            return (Criteria) this;
        }

        public Criteria andContractAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("CONTRACT_AMOUNT <=", value);
            return (Criteria) this;
        }

        public Criteria andContractAmountIn(List<BigDecimal> values) {
            addCriterion("CONTRACT_AMOUNT in", values);
            return (Criteria) this;
        }

        public Criteria andContractAmountNotIn(List<BigDecimal> values) {
            addCriterion("CONTRACT_AMOUNT not in", values);
            return (Criteria) this;
        }

        public Criteria andContractAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CONTRACT_AMOUNT between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andContractAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CONTRACT_AMOUNT not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andBudgetAmountIsNull() {
            addCriterion("BUDGET_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andBudgetAmountIsNotNull() {
            addCriterion("BUDGET_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andBudgetAmountEqualTo(BigDecimal value) {
            addCriterion("BUDGET_AMOUNT =", value);
            return (Criteria) this;
        }

        public Criteria andBudgetAmountNotEqualTo(BigDecimal value) {
            addCriterion("BUDGET_AMOUNT <>", value);
            return (Criteria) this;
        }

        public Criteria andBudgetAmountGreaterThan(BigDecimal value) {
            addCriterion("BUDGET_AMOUNT >", value);
            return (Criteria) this;
        }

        public Criteria andBudgetAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("BUDGET_AMOUNT >=", value);
            return (Criteria) this;
        }

        public Criteria andBudgetAmountLessThan(BigDecimal value) {
            addCriterion("BUDGET_AMOUNT <", value);
            return (Criteria) this;
        }

        public Criteria andBudgetAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("BUDGET_AMOUNT <=", value);
            return (Criteria) this;
        }

        public Criteria andBudgetAmountIn(List<BigDecimal> values) {
            addCriterion("BUDGET_AMOUNT in", values);
            return (Criteria) this;
        }

        public Criteria andBudgetAmountNotIn(List<BigDecimal> values) {
            addCriterion("BUDGET_AMOUNT not in", values);
            return (Criteria) this;
        }

        public Criteria andBudgetAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BUDGET_AMOUNT between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andBudgetAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BUDGET_AMOUNT not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountIsNull() {
            addCriterion("ADD_DELETE_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountIsNotNull() {
            addCriterion("ADD_DELETE_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountEqualTo(BigDecimal value) {
            addCriterion("ADD_DELETE_AMOUNT =", value);
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountNotEqualTo(BigDecimal value) {
            addCriterion("ADD_DELETE_AMOUNT <>", value);
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountGreaterThan(BigDecimal value) {
            addCriterion("ADD_DELETE_AMOUNT >", value);
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ADD_DELETE_AMOUNT >=", value);
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountLessThan(BigDecimal value) {
            addCriterion("ADD_DELETE_AMOUNT <", value);
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ADD_DELETE_AMOUNT <=", value);
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountIn(List<BigDecimal> values) {
            addCriterion("ADD_DELETE_AMOUNT in", values);
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountNotIn(List<BigDecimal> values) {
            addCriterion("ADD_DELETE_AMOUNT not in", values);
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ADD_DELETE_AMOUNT between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andAddDeleteAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ADD_DELETE_AMOUNT not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("TYPE =", value);
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("TYPE <>", value);
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("TYPE >", value);
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("TYPE >=", value);
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("TYPE <", value);
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("TYPE <=", value);
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("TYPE like", value);
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("TYPE not like", value);
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("TYPE in", values);
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("TYPE not in", values);
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("TYPE between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("TYPE not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andItemTypeIsNull() {
            addCriterion("ITEM_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andItemTypeIsNotNull() {
            addCriterion("ITEM_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andItemTypeEqualTo(String value) {
            addCriterion("ITEM_TYPE =", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeNotEqualTo(String value) {
            addCriterion("ITEM_TYPE <>", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeGreaterThan(String value) {
            addCriterion("ITEM_TYPE >", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ITEM_TYPE >=", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeLessThan(String value) {
            addCriterion("ITEM_TYPE <", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeLessThanOrEqualTo(String value) {
            addCriterion("ITEM_TYPE <=", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeLike(String value) {
            addCriterion("ITEM_TYPE like", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeNotLike(String value) {
            addCriterion("ITEM_TYPE not like", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeIn(List<String> values) {
            addCriterion("ITEM_TYPE in", values);
            return (Criteria) this;
        }

        public Criteria andItemTypeNotIn(List<String> values) {
            addCriterion("ITEM_TYPE not in", values);
            return (Criteria) this;
        }

        public Criteria andItemTypeBetween(String value1, String value2) {
            addCriterion("ITEM_TYPE between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andItemTypeNotBetween(String value1, String value2) {
            addCriterion("ITEM_TYPE not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andBudgetIdIsNull() {
            addCriterion("BUDGET_ID is null");
            return (Criteria) this;
        }

        public Criteria andBudgetIdIsNotNull() {
            addCriterion("BUDGET_ID is not null");
            return (Criteria) this;
        }

        public Criteria andBudgetIdEqualTo(String value) {
            addCriterion("BUDGET_ID =", value);
            return (Criteria) this;
        }

        public Criteria andBudgetIdNotEqualTo(String value) {
            addCriterion("BUDGET_ID <>", value);
            return (Criteria) this;
        }

        public Criteria andBudgetIdGreaterThan(String value) {
            addCriterion("BUDGET_ID >", value);
            return (Criteria) this;
        }

        public Criteria andBudgetIdGreaterThanOrEqualTo(String value) {
            addCriterion("BUDGET_ID >=", value);
            return (Criteria) this;
        }

        public Criteria andBudgetIdLessThan(String value) {
            addCriterion("BUDGET_ID <", value);
            return (Criteria) this;
        }

        public Criteria andBudgetIdLessThanOrEqualTo(String value) {
            addCriterion("BUDGET_ID <=", value);
            return (Criteria) this;
        }

        public Criteria andBudgetIdLike(String value) {
            addCriterion("BUDGET_ID like", value);
            return (Criteria) this;
        }

        public Criteria andBudgetIdNotLike(String value) {
            addCriterion("BUDGET_ID not like", value);
            return (Criteria) this;
        }

        public Criteria andBudgetIdIn(List<String> values) {
            addCriterion("BUDGET_ID in", values);
            return (Criteria) this;
        }

        public Criteria andBudgetIdNotIn(List<String> values) {
            addCriterion("BUDGET_ID not in", values);
            return (Criteria) this;
        }

        public Criteria andBudgetIdBetween(String value1, String value2) {
            addCriterion("BUDGET_ID between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andBudgetIdNotBetween(String value1, String value2) {
            addCriterion("BUDGET_ID not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("REMARK =", value);
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("REMARK <>", value);
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("REMARK >", value);
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("REMARK >=", value);
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("REMARK <", value);
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("REMARK <=", value);
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("REMARK like", value);
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("REMARK not like", value);
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("REMARK in", values);
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("REMARK not in", values);
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("REMARK between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("REMARK not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameIsNull() {
            addCriterion("ITEM_DETAIL_NAME is null");
            return (Criteria) this;
        }

        public Criteria andItemDetailNameIsNotNull() {
            addCriterion("ITEM_DETAIL_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andItemDetailNameEqualTo(String value) {
            addCriterion("ITEM_DETAIL_NAME =", value);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameNotEqualTo(String value) {
            addCriterion("ITEM_DETAIL_NAME <>", value);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameGreaterThan(String value) {
            addCriterion("ITEM_DETAIL_NAME >", value);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameGreaterThanOrEqualTo(String value) {
            addCriterion("ITEM_DETAIL_NAME >=", value);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameLessThan(String value) {
            addCriterion("ITEM_DETAIL_NAME <", value);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameLessThanOrEqualTo(String value) {
            addCriterion("ITEM_DETAIL_NAME <=", value);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameLike(String value) {
            addCriterion("ITEM_DETAIL_NAME like", value);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameNotLike(String value) {
            addCriterion("ITEM_DETAIL_NAME not like", value);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameIn(List<String> values) {
            addCriterion("ITEM_DETAIL_NAME in", values);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameNotIn(List<String> values) {
            addCriterion("ITEM_DETAIL_NAME not in", values);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameBetween(String value1, String value2) {
            addCriterion("ITEM_DETAIL_NAME between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andItemDetailNameNotBetween(String value1, String value2) {
            addCriterion("ITEM_DETAIL_NAME not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSeqIsNull() {
            addCriterion("SEQ is null");
            return (Criteria) this;
        }

        public Criteria andSeqIsNotNull() {
            addCriterion("SEQ is not null");
            return (Criteria) this;
        }

        public Criteria andSeqEqualTo(BigDecimal value) {
            addCriterion("SEQ =", value);
            return (Criteria) this;
        }

        public Criteria andSeqNotEqualTo(BigDecimal value) {
            addCriterion("SEQ <>", value);
            return (Criteria) this;
        }

        public Criteria andSeqGreaterThan(BigDecimal value) {
            addCriterion("SEQ >", value);
            return (Criteria) this;
        }

        public Criteria andSeqGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SEQ >=", value);
            return (Criteria) this;
        }

        public Criteria andSeqLessThan(BigDecimal value) {
            addCriterion("SEQ <", value);
            return (Criteria) this;
        }

        public Criteria andSeqLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SEQ <=", value);
            return (Criteria) this;
        }

        public Criteria andSeqIn(List<BigDecimal> values) {
            addCriterion("SEQ in", values);
            return (Criteria) this;
        }

        public Criteria andSeqNotIn(List<BigDecimal> values) {
            addCriterion("SEQ not in", values);
            return (Criteria) this;
        }

        public Criteria andSeqBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SEQ between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSeqNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SEQ not between", value1, value2);
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}